Better Random Numbers
This script creates a distribution of 100 numbers
between 0 and 9 and prints their histograms using
a better, but larger, random number generator than
that used in previous examples. "Random"
numbers created with formulas are not truly random.
They are, in fact, entirely predictable because they
are generated by formula. For most purposes, however, a
good number generator simulates randomness over a broad class
of applications. If your script needs many
statistically valid random numbers for simulation, consider using
this generator rather than the simpler one used in the
two previous examples.
Copyright ©1998 by Charles River Media, All Rights Reserved